﻿<%@ Page Title="零件详情" Language="C#"  AutoEventWireup="true" MasterPageFile="~/masterPage/admin/SAClient.master"
CodeFile="FamilyDetailFrm.aspx.cs" Inherits="SAClientWeb_FamilyDetailFrm" %>

<%@ MasterType VirtualPath="~/masterPage/admin/SAClient.master" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
     <div>
     <p></p>
     <p>零件详情</p>
     <p></p>
     </div>
    <div  class="m_cate2" style=" float:left;width:510px">  
       模型名称：<telerik:RadTextBox ID="textBox_modelName" runat="server" 
            Width="400px" ReadOnly="true"></telerik:RadTextBox> <br/>
       生产厂商：<telerik:RadTextBox ID="textBox_vendor" runat="server" ReadOnly="true"></telerik:RadTextBox>标准：<telerik:RadTextBox 
            ID="textBox_standard" runat="server" ReadOnly="true" Width="60px"></telerik:RadTextBox>类别：<telerik:RadTextBox 
            ID="textBox_category" runat="server" ReadOnly="true" Width="100px"></telerik:RadTextBox><br />
       产品描述：<br />
       <asp:Textbox  ID="richTextBox_description" runat="server" BorderStyle="Outset" 
            Width="500px" Height="100px" ReadOnly="true"/>
        <telerik:RadGrid ID="dataGridView_driverParamsList" AllowSorting="True" 
            EnableEmbeddedSkins="False" runat="server"  Height="300px"  Width="500px" ItemStyle-BackColor="#3366CC" BackColor="gray"
 
            Skin="Black" AllowAutomaticDeletes="True" AutoGenerateColumns="False" 
            onitemdatabound="dataGridView_ItemDataBound"  
            DataKeyNames="ID, FamilyID,IsDriver,IsCustom" GridLines="None"> 

            <ClientSettings> 

                <Selecting AllowRowSelect="True" />

            </ClientSettings> 

            <MasterTableView HorizontalAlign="center" AutoGenerateColumns="false" HeaderStyle-BackColor="#add3f7" > 

                <RowIndicatorColumn Visible="False" ItemStyle-BorderStyle="Inset" > 

                    <HeaderStyle Width="20px" /> 

                </RowIndicatorColumn> 

                <ExpandCollapseColumn Resizable="false" Visible="false" ItemStyle-BorderStyle="Outset" > 

                    <HeaderStyle Width="20px" /> 

                </ExpandCollapseColumn> 

                <CommandItemSettings></CommandItemSettings> 

                <Columns> 

                      <telerik:GridBoundColumn DataField="Name" HeaderText="参数" ReadOnly="true" UniqueName="Name">
                        </telerik:GridBoundColumn>

                        <telerik:GridBoundColumn DataField="DisplayName" HeaderText="参数别名" ReadOnly="true" UniqueName="DisplayName">
                        </telerik:GridBoundColumn>
                      
                        <telerik:GridCheckBoxColumn DataField="IsCustom" HeaderText="是否自定义"  UniqueName="IsCustom">
                        </telerik:GridCheckBoxColumn>
                      
                        <telerik:GridBoundColumn DataField="IsDriver" HeaderText="属性值"  UniqueName="IsDriver">
                        </telerik:GridBoundColumn>

                </Columns> 

<EditFormSettings>
<EditColumn InsertImageUrl="Update.gif" UpdateImageUrl="Update.gif" EditImageUrl="Edit.gif" CancelImageUrl="Cancel.gif"></EditColumn>
</EditFormSettings>

<ItemStyle BackColor="#3366CC"></ItemStyle>

                <HeaderStyle BackColor="#ADD3F7"></HeaderStyle> 

<CommandItemStyle BorderStyle="Outset"></CommandItemStyle>

            </MasterTableView> 

<ItemStyle BackColor="#3366CC" BorderStyle="Outset"></ItemStyle>

<FilterMenu EnableEmbeddedSkins="False"></FilterMenu>

<HeaderContextMenu EnableEmbeddedSkins="False"></HeaderContextMenu>

        </telerik:RadGrid>
    </div>   
    <div style=" float:left;width:250px">
        模型截图：<br />
        <telerik:RadBinaryImage ID="pictureBox_modelPic" runat="server"  Width="300px" 
            Height="300px" BackColor="#336699" ResizeMode="Fit"/><br />
        工程截图：<br />
         <telerik:RadBinaryImage ID="pictureBox_drawPic"  runat="server"  Width="300px" 
            Height="300px" BackColor="#FFFFCC"  ResizeMode="Fit"/>
        
    </div>
    
     </div>
</asp:Content>


